package service;

import bean.User;
import utils.BusinessException;

/**
 * 用户服务接口
 **/
public interface UserService {
    //用户注册
    public User register(User user) throws BusinessException;

    //用户登入
    public User login(String username, String password) throws BusinessException;

}
